package cn.hznc.domain.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.Table;
import com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant;
import lombok.Getter;
import lombok.Setter;

/**
 * @Author：Administrator
 * @Date：2024/1/25 17:11
 */
@Getter
@Setter
@Table(name = "t_shank_model_mapping")
@TableName(value = "t_shank_model_mapping")
public class ShankModelMappingEntity{

    /**
     * 系统id
     */
    @Column(name = "id",type = MySqlTypeConstant.INT,length = 11,isKey = true,isAutoIncrement = true)
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 子程序名称
     */
    @Column(name = "old_model", type = MySqlTypeConstant.VARCHAR, length = 200)
    @TableField(value = "old_model")
    private String oldModel;

    /**
     * 子程序名称
     */
    @Column(name = "new_model", type = MySqlTypeConstant.VARCHAR, length = 200)
    @TableField(value = "new_model")
    private String newModel;

}
